<template>
  <div class="title">
    <slot></slot>
  </div>
</template>

<script>
export default {};
</script>

<style lang="less" scoped>
@red:#dd001b;
div{
    text-align: left;
    display: flex;
    align-items: center;
    &::before{
        content:"";
        border-left: 2px solid @red;
        height:18px
    }
    p{
        height:40px;
        line-height: 40px;
        margin-left: 10px;
        font-size:17px
    }
}
</style>